package org.example.model;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@Component
@RefreshScope
public class RemoteConfig {
    @Value("${config-profile-env}")
    public String profileEnv;
    @Value("${name}")
    public String name;

    @Value("${AccessSecret}")
    public String AccessSecret;
    @Value("${AccessExpire}")
    public String AccessExpire;
}
